package ${package}<#if moduleName??>.${moduleName}</#if>.config<#if configType??>.${configType}</#if>;
 
import java.util.*;

/**
 * 说明：自动生成代码
 *       ${tableComments}
 * @author 作者：👨🏻${author} 📧${email} ☎13121055201
 * @create 创建时间：${date}
 * @update 修改时间：${date}
 * @since ${version} ${date}
 */
@lombok.Data
@lombok.EqualsAndHashCode (callSuper = false)
public class ${className} ${inherit} implements java.io.Serializable
{
    public static long serialVersionUID = 1L;

    public ${className}()
    {
<#if columns??>
        setColumns();
</#if>
<#if buttons??>
        setButtons();
</#if>
<#if children??>
        setChildren();
</#if>
    }

<#if attributes??>
    <#list attributes as attr>
    ${attr}
    </#list>
</#if>

<#if columns??>
    private ArrayList<String> columns;
    
    private void setColumns( )
    {
        this.columns = new ArrayList<String>(); <#list columns as column>
        this.columns.add("${column}");   </#list>
    }
</#if>

<#if buttons??>
    private ArrayList<String> buttons;
            
    private void setButtons( )
    {
        this.buttons = new ArrayList<String>(); <#list buttons as button>
        this.columns.add("${button}");  </#list>
    }
</#if>

<#if children??>
    private ArrayList<String> children;
                    
    private void setChildren( )
    {
        this.children = new ArrayList<String>(); <#list children as child>
        this.children.add("${child}"); </#list>
    }
</#if>
 
}